bitkeeper revision 1.1159.258.96 (426020fdvI1TOBH3k_tSkViH1At7WA)
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Fri, 15 Apr 2005 20:15:57 +0000 (20:15 +0000)
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Fri, 15 Apr 2005 20:15:57 +0000 (20:15 +0000)
Below is the patch that returns an 'int' from the notify_via_evtchn()
call.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: ian@xensource.com
linux-2.6.11-xen-sparse/include/asm-xen/evtchn.h

index d6f0b0b5459c69711c0df560a1990019b851c913..2cd2389b14fbea698a9c746cc5041d71004ecae3 100644 (file)
@@ -81,12 +81,12 @@ static inline void clear_evtchn(int port)
     synch_clear_bit(port, &s->evtchn_pending[0]);
 }
 
-static inline void notify_via_evtchn(int port)
+static inline int notify_via_evtchn(int port)
 {
     evtchn_op_t op;
     op.cmd = EVTCHNOP_send;
     op.u.send.local_port = port;
-    (void)HYPERVISOR_event_channel_op(&op);
+    return HYPERVISOR_event_channel_op(&op);
 }
 
 /*